home *** CD-ROM | disk | FTP | other *** search
- gStrDefaultColors = '$$$/Dialogs/HTML2PDF/HTMLSettings/General/DefaultColors';
- gStrText = '$$$/Dialogs/HTML2PDF/HTMLSettings/General/Text';
- gStrLinks = '$$$/Dialogs/HTML2PDF/HTMLSettings/General/Links';
- gStrBackground = '$$$/Dialogs/HTML2PDF/HTMLSettings/General/Background';
- gStrAltText = '$$$/Dialogs/HTML2PDF/HTMLSettings/General/AltText';
- gStrForceSettings = '$$$/Dialogs/HTML2PDF/HTMLSettings/General/ForceSettings';
- gStrBackgroundOptions = '$$$/Dialogs/HTML2PDF/HTMLSettings/General/BackgroundOptions';
- gStrPageColors = '$$$/Dialogs/HTML2PDF/HTMLSettings/General/PageColors';
- gStrTableCellColors = '$$$/Dialogs/HTML2PDF/HTMLSettings/General/TableCellColors';
- gStrTileImgBackground = '$$$/Dialogs/HTML2PDF/HTMLSettings/General/TileImgBackground';
- gStrLineOptions = '$$$/Dialogs/HTML2PDF/HTMLSettings/General/LineOptions';
- gStrWrapLines = '$$$/Dialogs/HTML2PDF/HTMLSettings/General/WrapLines';
- gStrConvertImages = '$$$/Dialogs/HTML2PDF/HTMLSettings/General/ConvertImages';
- gStrUnderlineLinks = '$$$/Dialogs/HTML2PDF/HTMLSettings/General/UnderlineLinks';
- gStrMultimedia = '$$$/Dialogs/HTML2PDF/HTMLSettings/General/Multimedia';
-
- gColorTextWidth = max ( zstring_width( zstring: gStrText )
- , zstring_width( zstring: gStrLinks )
- , zstring_width( zstring: gStrBackground )
- , zstring_width( zstring: gStrAltText )
- ) + max_char_width();
- gColorWellWidth = 22;
- gTestWidth1 = gColorTextWidth + gColorWellWidth + max_char_width() / 2;
-
- gWrapEditWidth = max_char_width() * 3;
- gWrapTextWidth = zstring_width( zstring: gStrWrapLines );
- gTestWidth2 = (max_char_width() + gWrapEditWidth + gWrapTextWidth) / 2;
-
- gColumnWidth = max( gTestWidth1, gTestWidth2 );
-
- dialog( )
- {
- view( align_children: align_left )
- {
- cluster( name: gStrDefaultColors )
- {
- view( align_children: align_row )
- {
- view( align_children: align_row, width: gColumnWidth )
- {
- view( align_children: align_left, width: gColorTextWidth )
- {
- static_text( item_id: 'st01', name: gStrText, next_tab: 'colr' );
- }
- view( align_children: align_right )
- {
- button( item_id: 'colr', picture: true, height: 20, width: gColorWellWidth, next_tab: 'st02' );
- }
- }
- gap();
- view( align_children: align_row, width: gColumnWidth )
- {
- view( align_children: align_left, width: gColorTextWidth )
- {
- static_text( item_id: 'st02', name: gStrLinks, next_tab: 'link', next_tab: 'link' );
- }
- view( align_children: align_right )
- {
- button( item_id: 'link', picture: true, height: 20, width: gColorWellWidth, next_tab: 'st03' );
- }
- }
- }
- view( align_children: align_row )
- {
- view( align_children: align_row, width: gColumnWidth )
- {
- view( align_children: align_left, width: gColorTextWidth )
- {
- static_text( item_id: 'st03', name: gStrBackground, next_tab: 'back' );
- }
- view( align_children: align_right )
- {
- button( item_id: 'back', picture: true, height: 20, width: gColorWellWidth, next_tab: 'st04' );
- }
- }
- gap();
- view( align_children: align_row, width: gColumnWidth )
- {
- view( align_children: align_left, width: gColorTextWidth )
- {
- static_text( item_id: 'st04', name: gStrAltText, next_tab: 'altt' );
- }
- view( align_children: align_right )
- {
- button( item_id: 'altt', picture: true, height: 20, width: gColorWellWidth, next_tab: 'pgcl' );
- }
- }
- }
- check_box(item_id: 'forc', name: gStrForceSettings );
- }
- cluster( name: gStrBackgroundOptions )
- {
- view( align_children: align_row )
- {
- view( align_children: align_row, width: gColumnWidth )
- {
- check_box(item_id: 'pgcl', name: gStrPageColors, next_tab: 'tbcl' );
- }
- gap();
- view( align_children: align_row, width: gColumnWidth )
- {
- check_box(item_id: 'tbcl', name: gStrTableCellColors, next_tab: 'tile' );
- }
- }
- view( align_children: align_row )
- {
- check_box(item_id: 'tile', name: gStrTileImgBackground, next_tab: 'wrap' );
- }
- }
- cluster( name: gStrLineOptions )
- {
- view( align_children: align_row )
- {
- check_box(item_id: 'wrap', name: gStrWrapLines, next_tab: 'wpln' );
- edit_text(item_id: 'wpln', width: gWrapEditWidth, next_tab: 'mmpu' );
- }
- }
- cluster( name: gStrMultimedia )
- {
- view( align_children: align_row )
- {
- popup( item_id: 'mmpu', width: 2 * gColumnWidth, next_tab: 'cimg' );
- }
- }
- cluster( item_id:'misc', name:'Miscellaneous Settings' )
- {
- view( align_children: align_row )
- {
- view( align_children: align_row, width: gColumnWidth )
- {
- check_box(item_id: 'cimg', name: gStrConvertImages, next_tab: 'ullk' );
- }
- gap();
- view( align_children: align_row, width: gColumnWidth )
- {
- check_box(item_id: 'ullk', name: gStrUnderlineLinks );
- }
- }
- }
- }
- }